/**
 * 连接mongodb
 */

'use strict';
var mongoose = require('mongoose');
var config = require('../config/config.js');

mongoose.connect(config.mongodb.dbPath);

module.exports = exports = mongoose;